Implemented some reverse functions.