Move bare
and node
options into API.
#1804
Merged
bare
and node
options into API.
#1804