'thisify' IRBase functions.