Added AI calls.
Added getters for width and height.