Add classes for listener