Don't let a user continue with a space in class prefix