support for templated hwaddr