removed params duplication in specification generation