Wrapping result of set{Timeout,Interval}.

Fixes #286.