Fixes #48. Thanks @aleksbreian1103!