Removed len-trim validation in setters

This was an issue when trying to set errors to an array. If validation
is required, the argument type attribute should be set. This allows for
simpler implementation.