Added an exception when query format is unregistered. Closes #40.