Made spec attribute not required anymore
Added more docs