Add queue implementation.