Add SelectObject callback for modifying collection
Merge branch '4.2/selectobject-callback'