Adding id.
Fix to search functions.