Moved a method so that forward declaration isn't needed.