Allow NonTransactional on classes as well to match Transactional.