Removed some unnecessary method arguments.