Added support for multiple methods