Added support for constant member functions.