Multiple class handling