Infer key on models build method
Merge branch 'infer_key_on_build'