declare comment properties
remove dead variable $i
declare UnitConversion static variables as public
declare Directive properties
declare Element properties
$returnValue defaults to null
remove unused $temp