Added spec for types and default value