add method index to api reference