Makes addLinks method public and an additional related method with default attributes