Should we refactor this -- have seen this in multiple places.