Fix for issue #31, modiifed the directive name to prefix 'as' on directives.