This is called a lot, can we keep a static cache here so we don't query the db twice.