Reverted template filter for "use in template" workaround.