Fixed syntax to support legacy rubies