Minor changes and additions to backend