Add buffer mapping