Revert "GEOT-4457 - passing through accepts method" to fix the build

This reverts commit 65040c7842dac0a17ad268371a9a02faa0e2a233.