Updated documentation

Updated and added documentation, removed __invalidfields unused property