Updated the directives for best practice