Add documentation for Windows compatibility layer and remove unneeded attributes