Return an object that contains classes rather than singleton.