Add prefix support. Close #11.