Added interface code, just need to test now.