Made fast input type generic.