Morfy: core improvements