Added support to NIF search in entities and automatic redirect.
Removed unused import.