Added public API and 'ask password' method.