Re-add accidentally removed method.