Moved function signature to a component