Added helper method.