core: HandleBox works with metadata boxes