Implement add_target_to_bin(), outlined in Issue #180.