Extends mongoose built-in schema setters.