Make these functions constexpr where/when it makes sense