Add methods for queue interface