Update code; unhide the "direct add" function.