Just a convenience method for better testing.