update behaviour_info to callback attributes
rebuild beam files after changes to header
rebuild beam files after changes to header
add type specifications