Switched to new Swift syntax. Discovery module has been initialized.