Adding support for hostattributes