Changes to get rid of compile warnings in documentation