Add support for multiple line function parsing