Bugfix: Fixed return values and prints.