Updated example in subclassed Application