Fixed build bug with changed interface