Removing excess type coercions