Added smart ident support.