Clean up indentation / add comments for assembly functions