updated list-functions and their generated code to apply the base-template-parameter