Allow flags to be marked as deprecated