Boundary conditions in Abelian sandpiles