Added the functions for the Messages, enableDraggable and enableResizable.