Changed access to width and margin from property to method, because they became protected