Remove type_cast_code alias, as original method is deprecated in Rails 4.1