Fix memory leak. Although the get{Component} methods will probably get redone before too long.