Fixed RefFields: We now perform an lookup if required to retrieve the referenced value and we also handle RefFields defined in abstract super classes gracefully
Fixed some generics warnings