Temporary hack for static method calls. See issue #20 and #21.