Add #reverse function.