Add inline for internal functions