Merge pull request #6 from danbeam/master

Fix undefined element errors.
Don't cache various support values and simplify Support into static class.