@dhh WDYT about the API? Will it fit with your idea of calling it `attribute_type_cast`?