Fixed #39. Reorganize plugin structure.