clean up #getMethods