Customizing the editor's toolbar buttons menu via custom plugin

Ok, I moved some stuff over to my module. The relevant snippet from my module looks like this now:

void HamadsPluginModule::StartupModule()
{
#define LOCTEXT_NAMESPACE “LevelEditorToolBar”

UE_LOG(MyPlugin, Log, TEXT(" plugin started!"));

TSharedPtr<FExtender> MyExtender = MakeShareable(new FExtender);
MyExtender->AddToolBarExtension("Settings", EExtensionHook::After, NULL, FToolBarExtensionDelegate::CreateRaw(this, &HamadsPluginModule::AddToolbarExtension));

FLevelEditorModule& LevelEditorModule = FModuleManager::LoadModuleChecked<FLevelEditorModule>("LevelEditor");
LevelEditorModule.GetToolBarExtensibilityManager()->AddExtender(MyExtender);


MyPluginCommands = MakeShareable(new FUICommandList);

MyPluginCommands->MapAction(
	FHamadsPluginCommands::Get().MyButton,
	FExecuteAction::CreateSP(this, &HamadsPluginModule::MyButton_Clicked),
	FCanExecuteAction());

#undef LOCTEXT_NAMESPACE
}

void HamadsPluginModule::MyButton_Clicked() ToolkitMode
{
UE_LOG(MyPlugin, Log, TEXT(“Button is clicked!”));
}

Now, I’m getting a new error:

Error 1 error C2039: ‘AsShared’ : is not a member of ‘HamadsPluginModule’ d:\000-myprojects\ue4\unrealengine\engine\source\runtime\core\public\templates\DelegateSignatureImpl.inl 306 1 UE4

I’m pulling my hair right now. :stuck_out_tongue: