Added support for accessing static fields (e.g. AttributeSensors) from YAML