Just some old helper classes and methods I knocked up for Android