As fred suggested, please place initialization logic in `onInit`.