Generic classes to extend Backbone.js