Revised python search interface.