Method definitions.