Formatted error
Use interfaces as type hints in response component
Bugfixes in type hinting