Abstracted out implementations of 'enqueue'.