Moves getStyleMap into the core record model, for cleanliness.