Threadsafe - Remove class attributes, they are not needed and cause threading issues.