Safety against invalid arguments