Supporting multiple platforms and adding a friendly helper class