refactored isPluggableClass, element selectors and instanceVariables are working as intended