remove —warnings flag, instead add documentation style