Rewrite the TrailingObjects template to provide two new features: