Moved some funtions wich are now part of other plugins.