Add type information to queue.h