cleanup constructor param code and docs