Modify apikey model; proper type