Basic support for delegates.