Add support for old custom BC signatures

Also add a warning message to tell users to change their function signatures.