Removed unused code as tokens no longer have an active attribute