Simple tail function.