Strip leading whitespace from function definitions