Fix functions.
Add plugins.