Fix bug with not having any models declared