Changing result constructor.