Implement basic level and entity classes.