Added private method for reflection.