Modularize retrieval of analysis