Added overload method for Add with value as object.