Changing base classes for backbone