Allow specifying selection type