Added an extra argument to selectfeature.