added missing final to interface shorthands
updated comments
removed some debug output
fixed write in combination with subtypes