adding API for retrieving module hooks