Adds getNextChild method skeleton