Resource interface and nested transactions