Fixed functions' block parsing.