Type cast methods for Collection classes.