This matches the inline method in C++.