replace defined with declared for more clarity [#151]