Added a refresh directive.