Prevent casual use of modual level globals

Signed-off-by: Ben Agricola <bagricola@squiz.co.uk>