Refactoring repeated code.
Refactoring bundle submission code.
Removing IPs from comments.