Remove message configuration from element, it should be passed from outside