Fix compile-time errors.  Still not creating the proper lists though.