Added grant API interface to 3.4 library