Add def-fn for defining fn like forms

Allow definition of fn like forms using stages.