Fixes in class declaration

Fix typo in syntax block.

Add that class name cannot be 'self', 'parent' or 'static'.
Oh... I see. I was not aware that self and parent are not reserved keywords. In this case I would write:
*name* must not be `self` or `parent` in addition to reserved keywords

This way it does not confuse someone (like me) if one is not aware of that self or parent is not a reserved keyword. Up to you of course, your changes are an improvement anyway