Fix for constructor.