use ::Spec:: namespace for autogeneration