Generate properly settlement base types