moved most specs into wrappers context, added more methods to globalize spec