Added some extra parameters to positions method.