name is added to prototype when defining store, model, and view