add support for 'buffer' in the type system
rebuild