Reject nested case classes