remove directive parser. put it in kroked.