Make sure functions are overwritten

This fixes an issue where, when the plugin was sourced twice, it threw
an error for already existing functions. This fixes #75