Add decorators.

This makes the slist example code work again.
Add newer (better?) decorator syntax.