Added api require.

As per title.