Use pointers to allow late binding of enque() and deque()
Hopefully fixes #5