fix #169 Add autoCompletion for instance and factory commands.