Minor details for input validation