Fix for method calls not being namespaced