Add back accidently removed method.