Removed obsolete timeperiod code.
Write a validator for method names

Fixes #3637
Bugfix: %require didn't work if parent type had a validator for the same attribute.