This block should just be a PORT.marshallAsAttribute(remote, writer).