Add query time attribute.