Added destroy method

Added destroy method to uninitialize plugin