Some cleaning. Remove not functionnal function in manager and protobuf.