Resolved deprecated usage of :warn-on-reflection by specifing it under :global-vars.