Remove extra logging statements.
Modify API to use key.

Have functions operate over the key; and not a list of partitions which
represent which log the key belongs to.
Remove invalid type specifications.
Update to correct types.