Added support for partial vars in static attrs