Added support for setting default selector and filter in the class