make functional specs optional

make functional specs optional.