Modifications for functionality.