Backbone module for adding states to objects