Patch #207

Add imports necessary for joomla-cms #207