Added some very rough experimental preliminary code.