We should have a  helper for this.