Empty base class optimization