Add common methods to one file