change signature more generic
add RawTargetAccess marker to work with proxy object