Added spec for plugin define