Removing redundant code that repeats actions for different number of parameters passed. Using default fallback instead for all cases.