Start of ERMapping implementation.