Added some missing validations along with specs for them.