observe running code to discover which methods can be made private.