Cleaned up un-needed code in extend example