Edited protocol_std.h and protocol_std_functions.c