Moved flags into the header file.