Compatibility with older Android versions