Fix initialization error and loadBalancer spelling

- Was giving "Internal error: must be type, not classobj"
- Also fix type_name should take self param