Adds basic validations