Adds reverse method.