Change method signature to allow easier usage of optional params.