Add autodetectTypes switch to Model annotation. 

Resolves #23