Refactored to comply with Backbone's interface. Imitate some Backbone.Validation features.