Add topic spec.