Implemented real functions.