Implement 'reserveCodeRange' to allow modules to reserve message codes