Simplify by using mirror-core.