Added default class to components on init