Added createTeacher(E e) and validate(E e)