Going to wait for @jacknagel to comment on this. This isn't really a solution to just disable the use of secure functions.