Fix #16 - Add the link() function to the Entity class.