As it is a copy of methods used in all other components, I would prefer to make a seperate pull request for this. https://github.com/Codiad/Codiad/issues/466