fix type definition of names parameter

Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>