Added basic support for alternatives type.