Added support for overloaded methods.