added support for Method::Signatures in Perl: func and method are synonyms for sub