formalize object methods that need more direct access to lua