Add constants module and query module.