Define them as methods, it is repetition, but it will help when using with DartEditor.