fix documentation
Change to 5.4 array syntax and make most properties private