Add getRegistry to Moa