let get ?collection t ~key = let col = get_collection t collection in begin try Some (Hashtbl.find col key) |> return with _ -> return None end