Fix some more warnings about calling nonstatic methods statically