Changed the function names to be more meaningful.
Updated the README to reflect the new way extension behaves.