Add a way to get all possible input and output versions for a class.