Add more api functionality