Add custom directive