Avoid warning from expose_dsl_globally a follow up to #1216 switch to just defining reader to avoid warning

Follow up to #1216