Added somethings to Entity, GraniteEntity and ServerComposite.

Added somethings to Entity, GraniteEntity and ServerComposite.