Tid: Introduced some recursion to improve `getMethods` methods