Reducing some code.