remove some lua methods to harden lrtemplate loading