Fixes #1: GS 3.12 compatibility