Changed parameters passed into hooks
Removed proper_required and max_length_trim
Support for trim