Started adding support for methods.