Code Style: Fixing inconsistencies
Export: Select methods to be exported to the window scope

Fixes #561