Updated AbstractModel.getName to be protected.