Avoid return, useless parameters and extract method is_quote