Update comments, can pass beforeCompilation and afterCompilation as options #5