Remove automated casting in rxgen