Adds validation for the presence of name