WIP : Added functions to restrict forward to stc or label
included comments from github
small _prepare_forward clean up
Merge pull request #452 from chdinh/master

[maintenance] small _prepare_forward clean up
Merge pull request #436 from joewalter/restrict_fwd

WIP : Added functions to restrict forward to stc or label
DOC : fix python ref