Add gitignore file
Handle case where model event callback doesn’t have model param