Initialize Monitor instances with the correct classes for position and size fields instead of plain object.
Monitor
position
size