Refactor SpecWithMetadata to not be module, not subclass.