Refactor ExcelFunctionRegistration

Refactor ExcelFunctionRegistration wrapper to keep track of all
CustomAttributes.