fixed declaration for @Monitor classes