allow to overwrite get_inline_instances