Rename GENERATED macro to AVAILABLE.