Added Set method

Hello,

All is in the title. What do you think ?