Move models getter/setter into abstract classes.