Code deduplication
getInternalImInstance()