Ported from Moose to Moo