Limit Entity and Key classes.