Imported ItemDetails class
Adapted ItemDetails to work from within extension and without i18n extensions