Remove function.