Fixes to compilation issues due to change in signature of reflectMirrored