Adding GetPosition and GetDuration to Pipeline class.