avoid warnings in autoenerated code