WIP: Added prototype of queue hooks