Add support for selector assignment for basic types.