Added Set() function.