The steps for this:
For all callbacks on behaviour modules, we should switch from calling module.callback to calling Behaviour.callback(module, ...). These wrapper functions will do two things:
Ash.Error.Framework.InvalidReturnType explaining the bad return type.This will make dialyzer more helpful throughout the project and also help users when they accidentally return the wrong value from a callback function.