Replaced core.Object.createFrom because of misbehavior.