Fixed method signature for constructor.