Clean up getter construction method.