Removed unused variable
Added a callback parameter to show and hide API methods
Fixed the functionBefore and functionAfter which were called with parameter  instead of . Also, they are now called in the context of
Version bump