Exposed window events methods, resolves #1