queue: removed needless generic functions