Remove modQuery/doc functions

Signed-off-by: Ian Macalinao <me@ian.pw>