Update docs and clean code for agecomp and lcomp