Move part code from here. Tr., Protos