Only take public methods