I think you can do this in Ruby:

module Glue::Pulp::PulpErrors
   class XYZ; end
end

But ACK, nice!