Fix widget registry (SIP), few fixes for relation reference widget