Added stubs, classes and methods for the spin2 functionallity