Function getUnitDefinitions