Fixes #6621 Improved component registration and loading. Improved component argument handling.