Implementing entity mapping classes.