Add missing set_src function.