Make model setting optional

This pull request address issue #7, "first_init code assumes model attribute on config".