trimmed old entity methods and variables