Added {redefine ...} block macro.
Added phpdoc