Cleaned up Plugin classes  and introduced the static class Function\SharedStatic.