Add example of extending Thread.`