Upgrade to directive.