update docs (and a couple comments) for refactored layerparam