Try to use attribute to pass handle.