* bug: fixed improper reference to method on non class object.