Fixing constructor.