Added hug functionality.