Removed ugly function pointer.