Added InnerType annotation to allow users to define the class to put into maps and list.