How do I set modifier on a member? you suffix member declaration with 'is' and the modifier {{{ #!cobra class HasAMember def doSomething is protected pass }}} How do I set multiple modifier on a member? you suffix member declaration with 'is' and a comma delimited list of modifier {{{ #!cobra class OverridesAMember def doSomething is protected, override pass }}} You can add attributes to classes and functions and variables also properties e.g. In GTK {{{ #!cobra class HasAnAttribute has TreeNode(listOnly=true) var name is String has TreeNodeValue(column=0) def doSomething is protected, override has STAThread pass }}} Usually we need to indent the code for the attribute