Updated code to fulfil OntoWiki coding standards.