Implemented confirmKeys option