Switched to new style class declaration.