Allow and Require

Add Allow and require inner class of Element and use them in Element