Inherit handle management and error management