Fix 'self' parameter name clash when generating for Python builtin