Set sim prototype in one call, see #117