Limit API check to only public methods