Better course code validation.