Added size and version to resource metadata.