Specify buffer name instead of buffer object

This is related to #31