Add a few method for retrieving the position of an element.