Should this be done in some platform agnostic way?