Also since we are here, fix old-Erlang behaviour_info/1 that got out of sync.