Remove send to analysis code and project state