Adding plugin actions to template. #1005