Well, you can already do it with a instanceof check: ``if ($child instanceof self) {``. It will exclude buttons which are using a different implementation