Added missing doc files and improved handling of missing extensions.