Remove redundant code and fix warnings.  We also do not need to generate...

... the service document.