Fix for Nexus 2.7 compatibility.