Updated names of functions to not collide with other plugins.