Made some model methods.