These missing validation checks seem important.