Discard unnecessary kwargs