add `message` back to `Function` and emit warning

fixes #64