Adding SERVER_STOPPED and SERVER_WRITE_LOCK in the constructors.