Add parsing routines for some directives