Updated documentation example for horizontal extension