Fixes and additions to staticmethod/classmethod examples.