Community moderators have prevented the ability to post new answers.
What do you mean by "unwanted method declaration"?
You'll need to give us a proper description of the actual problem if you want help. A statement that you can't "create a method or function" tells us nothing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.