adding support for intercepting named objects