Revert "allow using your own Definition in representers."

This reverts commit fb94c0d54ea5e99a846e7f012993eaaca41d9219.