Added specs for class methods;