Extracted methods.