Fixed a potential issue when reading Class object data from the input stream and cleaned up remaining warnings in the RestfulClassReader