Extract methods.