The mirrorImage(...) function is now in a standalone library