Add Python domain roles for method and modules.