Made signature change to get_inline_instances backwards compatible.