Updated webkore plugin to include message types