Alter changes in previous commit to work with different fife versions.