All functions implemented.