Fix on class method instantiation on example