More documentation and small compile fix