Added framework for messages