Fix build error, use default methods in Plugin.