Added general functionalities.