Added test support for read-only methods.