Create a decorator to wrap interfaces.