Replaced x, y, w, h with top, left, width, and height for better api.