Make plugin attributes get assigned before init