Added specs for instance methods.