Moved queue definition in the main header