Added size to resource.