Refactored out GameObject from component parameters