Fixed line spacing issues, fixed function docs