Adding api classes