Mark some functions constexpr