Removed unused function arguments