follow deepjs refactoring (aup + directive parser)