Fixes #4: proper definition compatible with requires optimizer