Replaces __dict__ access with getattr in data adapters