Added initial plugin functionality.