Make this static inline to avoid duplicates.