Removes shelltype option and all revelant doc. #1249

Fixes #1240