Adds mirroring. Closes #228.