Define properly ClassMethod and InstanceMethod