Fixed handling of template binary attributes: parameters should not be added to every single expression.