Add class doc and doctest to Decorator