alias setValue to type

The method `clearAndType` isn't quiet as clear as it could be. This changes it to `setValue`.