Move autorealize to a separate class to avoid warnings when there's no storeconfigs available.