Added code for splat arguments in methods