Prefix fields with class name to fix inheritance.