added support for core built-in functions
Documents and Windows now fully support SuperClass definition. Fixes #4