Refactored finally after steven's flatten
Added edit plugin metho
Fixed insepctions
Perfection, Steven, leave it alone.