Changed host:peer() and added wrappers and documentation