Fixed issue #3: static call to non-static method.