Implement nested options. #248