Added protection against clashing overload signatures where some parameters are optional.