I'd add some Javadoc, not sure what ```type``` really means