Ported fabricate from grunt version