adding dispose methods to wrappers