addMethod and removeMethods