Moved active flag setting to abstract class