Turn on proxy generation and fix service definition refs.