Provides the logic for {{tpp}}.