Moved parse/write input attribute methods under utils