made dependency to extensions optional