Some optimizations for mobile devices