Add a few more helper functions to corobot_core.