Added some sanity checks to company model