changed define() name and removed unused filters & directives