Corrected to Joomla standards