Adding flat_interface