fix #3: removing the troublesome .onAttach instead of trying to suppress
the error caused there :O
update docs