Increment version to 1.8.0.
Add better support for making a decorator out of a class.