Minor refactoring of importing osmoappdesc