Doing this in model constructor would be cleaner