Add support for shorthand methods.