DOC: Add where and mask to API doc