Rename revert_extension and expose extend