Added support to overloading methods with 0 or 1 parameter.