Add method to query options