public IStorage getContacts() throws Exception { ContactStorage storage = (ContactStorage)get("contacts"); if (storage == null) { storage = new ContactStorage(); storage.open(); put("contacts", storage); } return storage; }