Generalize plugins API, fix README