Fixed type-check error. Options 'optimize' and 'real_time' now work.
1.1.1: Fixed type-check error. Options 'optimize' and 'real_time' now work.