Extension to app function.