Somehow "use Moose" was missing. Added it