Allow fn to have no body

Signed-off-by: Julien Danjou <julien@danjou.info>
Merge branch 'master' into pr/146