put method specific tags in :cast instead of overwriting :tag, closes #20
put constant tag in :constants