Corrected some line lengths

Split a few statements (mostly hook/filter functions with lots of
arguments) across multiple lines to reduce line lengths