Consolidate class initialization into a new @initialize() method.