Changed private calls to use the correct methods. Added method to check if a name/version tuple had already been analysed.