Minor functions implemented.