Fixed issue with dynamicAttribute example.