Added ip and agent methods.
Updated to new format.