Added support for the :documentation keyword in slot definitions for task classes.