add the spec of plugin