Add mapper and entity functionality.