Example implementation of type aware collections