Added docs generated by Doxygen.
Fixed some wrong static flags.