added methods to internally release gem