Objects: Remove first function parameter if the key is string