Fixed mistake where a method was defined as a class method instead a instance methods.