Adding core functionality.