Added frame materials, fixed an API error