Simplify flash_writer API.