Added register_address() and docstrings.