Host code support