Uniformize some function names in backend.py