stop using the old brain-dead interface for providing attributes/methods

This closes #12099.
2 files changed