Extend documentation, change tabs to spaces in code