Adding basic annotation support to functions.