fix methods properties

Sometimes it is very useful to set a flag to function - for example, for auto-wrap it in $.memoize in constructor.