Implement changes as per code review: documenting "complicated" methods and also fix whitespacing