Added API functionality

I've been writing capital `ID` everywhere but I'm not too bothered with mixing them. What would you like to settle on?