Added the method set().