Reworked bot structure.