This doesn't modify any internal state, so it can be made a const member function to allow its use in const contexts.