Added method to store custom flags and a property to access custom flags

Still needs implementation of a method to append messages with custom flags