If they're completely read-only, they could just be const, I mean e.g. Layer * const layer; or maybe references.