Update example & fix bug in controller inheritance.