Added support to mixins to determine which have been added to a class.
Supporting a spawn method to more easily generate different types of queries.