Added calculator directive.