removed callback to add functions and fixed value setter

Signed-off-by: Blessing Osakue <iyoworks@gmail.com>