Added API functionality

That's a typo lol