Inline documentation cleanup of Entity

Main reason for the patch: Some types were missing.

Also, as usual: I try to avoid "array" if it's possible to be more specific.