Fix docgen for serverside classes (entity in particular)

Serverside classes were not picked up because the docgen couldn't make
the connection.
Also, the non-declaring side also needs a comment. (In this case,
serverside)