Add extra querying methods.