Searching callbacks

See discussion on #268.