Class for handling extensions.