Added a few functions

Hi,

Thanks for sharing this plugin.

I've added a few functions, so accept them if you please.